package com.gzhryc.shared_device.oem.h5.agent.dto.api.v1.place;

import com.gzhryc.common.StringTools;
import com.gzhryc.common.api.SecurityRequest;
import com.gzhryc.common.data.annotation.Valid;

import java.io.Serializable;

public class PlacePhysicalStoreSaveRequest extends SecurityRequest<PlacePhysicalStoreSaveRequest.Body> {

    private static final long serialVersionUID = 1L;

    public PlacePhysicalStoreSaveRequest() {
        this.body = new Body();
    }

    public static class Body implements Serializable {

        private Long id;
        @Valid(notNull = true, name = "网点名称", minLength = 1, maxLength = 32)
        private String name;
        @Valid(name = "门店照", maxLength = 32)
        private String thumbnailImg;
        @Valid(notNull = true,name = "省")
        private String province;
        @Valid(notNull = true,name = "市")
        private String city;
        @Valid(notNull = true,name = "区/县")
        private String cityArea;
        private String areaCode;
        @Valid(name = "详细地址")
        private String address;
        private String routeInfo;
        @Valid(name = "经度")
        private Double longitude;
        @Valid(name = "纬度")
        private Double latitude;
        @Valid(notNull = true,name = "网点类型")
        private String typeCodes;
        private String contactPhone;
        private String openTime = "0";
        private String closeTime = "23";

        public Long getId() {
            return id;
        }

        public void setId(Long id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getThumbnailImg() {
            return thumbnailImg;
        }

        public void setThumbnailImg(String thumbnailImg) {
            this.thumbnailImg = thumbnailImg;
        }

        public String getProvince() {
            return province;
        }

        public void setProvince(String province) {
            this.province = province;
        }

        public String getCity() {
            return city;
        }

        public void setCity(String city) {
            this.city = city;
        }

        public String getCityArea() {
            return cityArea;
        }

        public void setCityArea(String cityArea) {
            this.cityArea = cityArea;
        }

        public String getAreaCode() {
            return areaCode;
        }

        public void setAreaCode(String areaCode) {
            this.areaCode = areaCode;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getRouteInfo() {
            return routeInfo;
        }

        public void setRouteInfo(String routeInfo) {
            this.routeInfo = routeInfo;
        }

        public Double getLongitude() {
            return longitude;
        }

        public void setLongitude(Double longitude) {
            this.longitude = longitude;
        }

        public Double getLatitude() {
            return latitude;
        }

        public void setLatitude(Double latitude) {
            this.latitude = latitude;
        }

        public String getTypeCodes() {
            return typeCodes;
        }

        public void setTypeCodes(String typeCodes) {
            this.typeCodes = typeCodes;
        }

        public String getContactPhone() {
            return contactPhone;
        }

        public void setContactPhone(String contactPhone) {
            this.contactPhone = contactPhone;
        }

        public String getOpenTime() {
            return openTime;
        }

        public void setOpenTime(String openTime) {
            this.openTime = openTime;
        }

        public String getCloseTime() {
            return closeTime;
        }

        public void setCloseTime(String closeTime) {
            this.closeTime = closeTime;
        }

    }
}
